let express = require('express');
let router = express.Router();
let userController = require('../controllers/users');

//注册controller
router.post('/register', userController.register);
router.post('/login', userController.login);
router.get('/verify', userController.verify);
router.get('/getUser', userController.getUser);
router.post('/findPassword', userController.findPassword);

module.exports = router;
